package com.itheima;

import com.itheima.pojo.Student;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class StudentTest {
    public static void main(String[] args) {
        ClassPathXmlApplicationContext classPathXmlApplicationContext = new ClassPathXmlApplicationContext("applicationContext.xml");

        Student student = classPathXmlApplicationContext.getBean("student", Student.class);

        System.out.println(student);

    }
}
